import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 工艺设定
 * */
export const productionTechnologySettingsCreate = (data) => postRequest('/production/technology-settings/create', data);
export const productionTechnologySettingsUpdate = (data) => putRequest('/production/technology-settings/update', data);
export const productionTechnologySettingsDelete = (params) => deleteRequest('/production/technology-settings/delete', params);
export const productionTechnologySettingsGet = (params) => getRequest('/production/technology-settings/get', params);
export const productionTechnologySettingsPage = (params) => getRequest('/production/technology-settings/page', params);

export const productionTechnologySettingsUpdateServiceState = (params) => postRequest('/production/technology-settings/update-service-state', params);
export const productionTechnologySettingsGetStateCount = (params) => getRequest('/production/technology-settings/get-state-count', params);
export const productionTechnologySettingsGetJson = (params) => getRequest('/production/technology-settings/get-json', params);
export const productionTechnologySettingsBatchSetSpec = (data) => postRequest('/production/technology-settings/batch-set-spec', data);
export const getFixedJson = (data) => getRequest('/production/technology-settings/get-fixed-json', data);
